package com.cloud.common.enums;

/**
 * 部门常量枚举
 *
 * @author yzj
 */
public enum DeptType {

    TOP_DEPT_TYPE("0", "部门顶级父级标识"),

    DEPT_NORMAL("0", "部门正常状态"),
    DEPT_DISABLE("1", "部门停用状态"),

    IS_PROVINCES("0", "省/市级节点"),
    IS_AREA("1", "区/县节点"),
    IS_LOWEST("2", "/公司部门节点"),
    IS_BRANCH("3", "部门分子节点");

    private final String code;
    private final String info;

    DeptType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
